home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48_1
/
pubdom.tar
/
pubdom
/
trent
/
clean
< prev
next >
Wrap
Text File
|
1990-06-02
|
696b
|
17 lines
%%HP: T(3)A(D)F(.); @ CLEAN Preserves specified variables and deletes
@ the rest in the current directory.
\<< 8 TVARS @ Get a list of the program objects.
15 TVARS @ Get a list of the directory objects.
+ { } @ Put other variables to be preserved in this list.
+ \-> k
\<< VARS OBJ\-> 1 @ Put a list of the variables in the directory.
SWAP
START k OVER
IF POS @ If variable is not in k list, PURGE it
THEN DROP
ELSE PURGE
END
NEXT @ Developed by Kenneth Trent for SMI
\>> @ (615) 246-3790
\>>